package cn.jbit.bdqn.action;

import cn.jbit.bdqn.entity.User;

import com.opensymphony.xwork2.ActionSupport;

public class LoginAction extends ActionSupport {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private User user;
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}

	public String login(){
		System.out.println(user.getUserSn());
		return "loginSucces";
	}
}
